package com.prd.controller;

import com.prd.service.SysPowerService;
import com.prd.util.JsonData;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author lizhaoyi
 * @date 2024/1/18 13:43
 * Description:
 */

@RestController
@Api(tags = "职能功能权限管理")
public class SysPowerController {

    @Autowired
    private SysPowerService sysPowerService;



    @PostMapping("getPages")
    @ApiOperation("获取用户职能分页")
    public JsonData getPageList(){


        return sysPowerService.getPageList();

    }
}
